package com.godfrey.api.entity;

import java.io.Serializable;

/**
 * 用户实体
 *
 * @author godfrey
 * @since 2021-08-22
 */
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "id = " + id + " ,name = " + name;
    }

}